<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		<meta charset="utf-8" />
		<meta name="description" content="Restyling jQuery UI Widgets and Elements" />
		<link rel="stylesheet" href="admin/assets/css/bootstrap.min.css" />
		<link rel="stylesheet" href="admin/assets/css/font-awesome.min.css" />
		<link rel="stylesheet" href="admin/assets/css/ace-fonts.css" />
		<link rel="stylesheet" href="admin/assets/css/ace.min.css" id="main-ace-style" />
		<script src="admin/assets/js/ace-extra.min.js"></script>
		<title>test</title>
	</head>
	<body style="background: #FFFFFF;">
		<div class="page-content">
			<div class="page-content-area">
				<div class="row">
					<div class="col-xs-12">
						<form class="form-horizontal" role="form" method="post" action="{{ url('Downcategoryup') }}" enctype="multipart/form-data">
							{{ csrf_field() }}
							<div class="form-group">
								<div class="center">
									<h3>资源分类添加</h3>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 输入分类名称：</label>
								<div class="col-sm-9">
									<input type="text" name="catNameT" id="form-field-1" placeholder="名称" class="col-xs-10 col-sm-5" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1">输入分类描述： </label>
								<div class="col-sm-9">
									<input type="text" name="catInfoT" id="form-field-1-1" placeholder="描述" class=" col-xs-10 col-sm-5" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 分类图片：</label>
								<div class="col-sm-9">
									<input name="fileTwo" type="file" multiple="" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-tags">选择父分类：</label>
								<div class="col-sm-2">
									<div class="pos-rel">
										<select name="selt" class="form-control" id="form-field-select-1">
											<option value="0">顶级分类</option>
											@foreach ($cate as $user)
											<optgroup label="{{ $user->catname }}" style="font-family:'arial black'"> </optgroup>
											@endforeach
										</select>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> &nbsp;</label>
								<div class="col-sm-9">
									<input class="btn btn-info" type="submit" value="提交" style="width: 200px;"/>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div><!-- /.page-content-area -->
		</div><!-- /.page-content -->
	</body>
	<script type="text/javascript">window.jQuery || document.write("<script src='admin/assets/js/jquery.min.js'>" + "<" + "/script>");</script>
	<script type="text/javascript">if('ontouchstart' in document.documentElement) document.write("<script src='admin/assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");</script>
	<script src="admin/assets/js/bootstrap.min.js"></script>
	<script src="admin/assets/js/jquery.dataTables.min.js"></script>
	<script src="admin/assets/js/jquery.dataTables.bootstrap.js"></script>
	<!-- ace scripts -->
	<script src="admin/assets/js/ace-elements.min.js"></script>
	<script src="admin/assets/js/ace.min.js"></script>
</html>
